<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIProgressBar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_progress_bar.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_progress_bar-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIProgressBar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Simple progress bar that fills itself based on the specified value.  
 <a href="class_u_i_progress_bar.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIProgressBar:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_progress_bar.png" usemap="#UIProgressBar_map" alt=""/>
  <map id="UIProgressBar_map" name="UIProgressBar_map">
<area href="class_u_i_widget_container.html" title="Widget container is a generic type class that acts like a non-resizeable widget when selecting things..." alt="UIWidgetContainer" shape="rect" coords="0,56,116,80"/>
<area href="class_u_i_slider.html" title="Extended progress bar that has backwards compatibility logic and adds interaction support..." alt="UISlider" shape="rect" coords="0,168,116,192"/>
<area href="class_u_i_scroll_bar.html" title="Scroll bar functionality. " alt="UIScrollBar" shape="rect" coords="0,224,116,248"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a932bf0cffd5400d462911d48fb3f9413"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">FillDirection</a> { <a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413ad1e80c506f4c89e3c4fb1c1b4867a03c">FillDirection.LeftToRight</a>, 
<a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413ab7b0ea3028791689ea070674776855e2">FillDirection.RightToLeft</a>, 
<a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413a63dc349be51108dcfd197c7ab02b486a">FillDirection.BottomToTop</a>, 
<a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413af2b1a19a8d0f523d042f9ede79a80804">FillDirection.TopToBottom</a>
 }</td></tr>
<tr class="separator:a932bf0cffd5400d462911d48fb3f9413"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad8c0636d67a5478fab21a8333299cb20"><td class="memItemLeft" align="right" valign="top">delegate void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ad8c0636d67a5478fab21a8333299cb20">OnDragFinished</a> ()</td></tr>
<tr class="separator:ad8c0636d67a5478fab21a8333299cb20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a194c10cd6b392de151dfdc33382a2bc2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a194c10cd6b392de151dfdc33382a2bc2">ForceUpdate</a> ()</td></tr>
<tr class="memdesc:a194c10cd6b392de151dfdc33382a2bc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the value of the scroll bar.  <a href="#a194c10cd6b392de151dfdc33382a2bc2">More...</a><br /></td></tr>
<tr class="separator:a194c10cd6b392de151dfdc33382a2bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aeac294ff617f38687164b98f32604196"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_progress_bar.html#ad8c0636d67a5478fab21a8333299cb20">OnDragFinished</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#aeac294ff617f38687164b98f32604196">onDragFinished</a></td></tr>
<tr class="memdesc:aeac294ff617f38687164b98f32604196"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delegate triggered when the scroll bar stops being dragged. Useful for things like centering on the closest valid object, for example.  <a href="#aeac294ff617f38687164b98f32604196">More...</a><br /></td></tr>
<tr class="separator:aeac294ff617f38687164b98f32604196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9bd6590801474032486134f9c391504"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ae9bd6590801474032486134f9c391504">thumb</a></td></tr>
<tr class="memdesc:ae9bd6590801474032486134f9c391504"><td class="mdescLeft">&#160;</td><td class="mdescRight">Object that acts as a thumb.  <a href="#ae9bd6590801474032486134f9c391504">More...</a><br /></td></tr>
<tr class="separator:ae9bd6590801474032486134f9c391504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7cde4f296750d27f721d5f8c4d46727"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#aa7cde4f296750d27f721d5f8c4d46727">numberOfSteps</a> = 0</td></tr>
<tr class="memdesc:aa7cde4f296750d27f721d5f8c4d46727"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of steps the slider should be divided into. For example 5 means possible values of 0, 0.25, 0.5, 0.75, and 1.0.  <a href="#aa7cde4f296750d27f721d5f8c4d46727">More...</a><br /></td></tr>
<tr class="separator:aa7cde4f296750d27f721d5f8c4d46727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51753c59e61c23c48b6f2d3c519864d5"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_event_delegate.html">EventDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a51753c59e61c23c48b6f2d3c519864d5">onChange</a> = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td></tr>
<tr class="memdesc:a51753c59e61c23c48b6f2d3c519864d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callbacks triggered when the scroll bar's value changes.  <a href="#a51753c59e61c23c48b6f2d3c519864d5">More...</a><br /></td></tr>
<tr class="separator:a51753c59e61c23c48b6f2d3c519864d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ab4e5d221191fe4d7b7f93e76c344969b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ab4e5d221191fe4d7b7f93e76c344969b">current</a></td></tr>
<tr class="memdesc:ab4e5d221191fe4d7b7f93e76c344969b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current slider. This value is set prior to the callback function being triggered.  <a href="#ab4e5d221191fe4d7b7f93e76c344969b">More...</a><br /></td></tr>
<tr class="separator:ab4e5d221191fe4d7b7f93e76c344969b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a49297afef67a937704bcf113d37840c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a49297afef67a937704bcf113d37840c5">Start</a> ()</td></tr>
<tr class="memdesc:a49297afef67a937704bcf113d37840c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register the event listeners.  <a href="#a49297afef67a937704bcf113d37840c5">More...</a><br /></td></tr>
<tr class="separator:a49297afef67a937704bcf113d37840c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a68856eac532dd398f75c858a5da084"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a8a68856eac532dd398f75c858a5da084">Upgrade</a> ()</td></tr>
<tr class="memdesc:a8a68856eac532dd398f75c858a5da084"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to upgrade from legacy functionality.  <a href="#a8a68856eac532dd398f75c858a5da084">More...</a><br /></td></tr>
<tr class="separator:a8a68856eac532dd398f75c858a5da084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a809570af3949823f16bc9635c97d64"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a9a809570af3949823f16bc9635c97d64">OnStart</a> ()</td></tr>
<tr class="memdesc:a9a809570af3949823f16bc9635c97d64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functionality for derived classes.  <a href="#a9a809570af3949823f16bc9635c97d64">More...</a><br /></td></tr>
<tr class="separator:a9a809570af3949823f16bc9635c97d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1e92886604d4b24daa2e9ab08bc6af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#abb1e92886604d4b24daa2e9ab08bc6af">Update</a> ()</td></tr>
<tr class="memdesc:abb1e92886604d4b24daa2e9ab08bc6af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the value of the scroll bar if necessary.  <a href="#abb1e92886604d4b24daa2e9ab08bc6af">More...</a><br /></td></tr>
<tr class="separator:abb1e92886604d4b24daa2e9ab08bc6af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a35bb79d46a341de8a8231637deaba6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a4a35bb79d46a341de8a8231637deaba6">OnValidate</a> ()</td></tr>
<tr class="memdesc:a4a35bb79d46a341de8a8231637deaba6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the scroll bar.  <a href="#a4a35bb79d46a341de8a8231637deaba6">More...</a><br /></td></tr>
<tr class="separator:a4a35bb79d46a341de8a8231637deaba6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98d21a225a0200680356fe2a480afe08"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a98d21a225a0200680356fe2a480afe08">ScreenToValue</a> (Vector2 screenPos)</td></tr>
<tr class="memdesc:a98d21a225a0200680356fe2a480afe08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drag the scroll bar by the specified on-screen amount.  <a href="#a98d21a225a0200680356fe2a480afe08">More...</a><br /></td></tr>
<tr class="separator:a98d21a225a0200680356fe2a480afe08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac387ee447f54893d65b677ecbfa05b1c"><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ac387ee447f54893d65b677ecbfa05b1c">LocalToValue</a> (Vector2 localPos)</td></tr>
<tr class="memdesc:ac387ee447f54893d65b677ecbfa05b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the value of the progress bar given the specified local position.  <a href="#ac387ee447f54893d65b677ecbfa05b1c">More...</a><br /></td></tr>
<tr class="separator:ac387ee447f54893d65b677ecbfa05b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acce68010b63de6bae300f7716ca3e8cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#acce68010b63de6bae300f7716ca3e8cf">SetThumbPosition</a> (Vector3 worldPos)</td></tr>
<tr class="memdesc:acce68010b63de6bae300f7716ca3e8cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position of the thumb to the specified world coordinates.  <a href="#acce68010b63de6bae300f7716ca3e8cf">More...</a><br /></td></tr>
<tr class="separator:acce68010b63de6bae300f7716ca3e8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a4d46be11fb518e65dbb2c41185eaf4ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a4d46be11fb518e65dbb2c41185eaf4ab">mBG</a></td></tr>
<tr class="separator:a4d46be11fb518e65dbb2c41185eaf4ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13742f18c9e4dc7ba676044d0fbeb257"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a13742f18c9e4dc7ba676044d0fbeb257">mFG</a></td></tr>
<tr class="separator:a13742f18c9e4dc7ba676044d0fbeb257"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35909a83c65620906a22928a078a3b19"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a35909a83c65620906a22928a078a3b19">mValue</a> = 1f</td></tr>
<tr class="separator:a35909a83c65620906a22928a078a3b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a8ed6def39c94d0ed1df202fd04008a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">FillDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a9a8ed6def39c94d0ed1df202fd04008a">mFill</a> = FillDirection.LeftToRight</td></tr>
<tr class="separator:a9a8ed6def39c94d0ed1df202fd04008a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce758355dfaae34349ad9a6a586c1ab"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a6ce758355dfaae34349ad9a6a586c1ab">mTrans</a></td></tr>
<tr class="separator:a6ce758355dfaae34349ad9a6a586c1ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9da5d581bee6ab6755d79f9e62fff0d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ac9da5d581bee6ab6755d79f9e62fff0d">mIsDirty</a> = false</td></tr>
<tr class="separator:ac9da5d581bee6ab6755d79f9e62fff0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfd875dabc5a1d95ef7109096614ad06"><td class="memItemLeft" align="right" valign="top">Camera&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#adfd875dabc5a1d95ef7109096614ad06">mCam</a></td></tr>
<tr class="separator:adfd875dabc5a1d95ef7109096614ad06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f94173ee7b1eeccd9e9ea0b24f3446"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ad7f94173ee7b1eeccd9e9ea0b24f3446">mOffset</a> = 0f</td></tr>
<tr class="separator:ad7f94173ee7b1eeccd9e9ea0b24f3446"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a50a9eb611ff35bc90fb39449e0794fce"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a50a9eb611ff35bc90fb39449e0794fce">cachedTransform</a><code> [get]</code></td></tr>
<tr class="memdesc:a50a9eb611ff35bc90fb39449e0794fce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cached for speed.  <a href="#a50a9eb611ff35bc90fb39449e0794fce">More...</a><br /></td></tr>
<tr class="separator:a50a9eb611ff35bc90fb39449e0794fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e2bcde97f2c4e6bea4f496ca9f6fdef"><td class="memItemLeft" align="right" valign="top">Camera&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a5e2bcde97f2c4e6bea4f496ca9f6fdef">cachedCamera</a><code> [get]</code></td></tr>
<tr class="memdesc:a5e2bcde97f2c4e6bea4f496ca9f6fdef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Camera used to draw the scroll bar.  <a href="#a5e2bcde97f2c4e6bea4f496ca9f6fdef">More...</a><br /></td></tr>
<tr class="separator:a5e2bcde97f2c4e6bea4f496ca9f6fdef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2332650e5cf4c7b8d6d1017f37e28244"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a2332650e5cf4c7b8d6d1017f37e28244">foregroundWidget</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2332650e5cf4c7b8d6d1017f37e28244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Widget used for the foreground.  <a href="#a2332650e5cf4c7b8d6d1017f37e28244">More...</a><br /></td></tr>
<tr class="separator:a2332650e5cf4c7b8d6d1017f37e28244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8cb00a7a20f08cc173ade9554cc5258"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ac8cb00a7a20f08cc173ade9554cc5258">backgroundWidget</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac8cb00a7a20f08cc173ade9554cc5258"><td class="mdescLeft">&#160;</td><td class="mdescRight">Widget used for the background.  <a href="#ac8cb00a7a20f08cc173ade9554cc5258">More...</a><br /></td></tr>
<tr class="separator:ac8cb00a7a20f08cc173ade9554cc5258"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a484eb840ba9650baf65a005bf4062bfa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">FillDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a484eb840ba9650baf65a005bf4062bfa">fillDirection</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a484eb840ba9650baf65a005bf4062bfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">The scroll bar's direction.  <a href="#a484eb840ba9650baf65a005bf4062bfa">More...</a><br /></td></tr>
<tr class="separator:a484eb840ba9650baf65a005bf4062bfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3171358e83b50c548df738d428e6d1c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ac3171358e83b50c548df738d428e6d1c">value</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac3171358e83b50c548df738d428e6d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifiable value for the scroll bar, 0-1 range.  <a href="#ac3171358e83b50c548df738d428e6d1c">More...</a><br /></td></tr>
<tr class="separator:ac3171358e83b50c548df738d428e6d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c96faea0928afdaf1a18adb8a3353d8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a0c96faea0928afdaf1a18adb8a3353d8">alpha</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0c96faea0928afdaf1a18adb8a3353d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows to easily change the scroll bar's alpha, affecting both the foreground and the background sprite at once.  <a href="#a0c96faea0928afdaf1a18adb8a3353d8">More...</a><br /></td></tr>
<tr class="separator:a0c96faea0928afdaf1a18adb8a3353d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab01b1a1a32c9c7e782f7b84ee6789869"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#ab01b1a1a32c9c7e782f7b84ee6789869">isHorizontal</a><code> [get]</code></td></tr>
<tr class="memdesc:ab01b1a1a32c9c7e782f7b84ee6789869"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the progress bar is horizontal in nature. Convenience function.  <a href="#ab01b1a1a32c9c7e782f7b84ee6789869">More...</a><br /></td></tr>
<tr class="separator:ab01b1a1a32c9c7e782f7b84ee6789869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a374d234f19147e932c81bc53a476a20c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_progress_bar.html#a374d234f19147e932c81bc53a476a20c">isInverted</a><code> [get]</code></td></tr>
<tr class="memdesc:a374d234f19147e932c81bc53a476a20c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the progress bar is inverted in its behaviour. Convenience function.  <a href="#a374d234f19147e932c81bc53a476a20c">More...</a><br /></td></tr>
<tr class="separator:a374d234f19147e932c81bc53a476a20c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Simple progress bar that fills itself based on the specified value. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a932bf0cffd5400d462911d48fb3f9413"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">UIProgressBar.FillDirection</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a932bf0cffd5400d462911d48fb3f9413ad1e80c506f4c89e3c4fb1c1b4867a03c"></a>LeftToRight&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a932bf0cffd5400d462911d48fb3f9413ab7b0ea3028791689ea070674776855e2"></a>RightToLeft&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a932bf0cffd5400d462911d48fb3f9413a63dc349be51108dcfd197c7ab02b486a"></a>BottomToTop&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a932bf0cffd5400d462911d48fb3f9413af2b1a19a8d0f523d042f9ede79a80804"></a>TopToBottom&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a194c10cd6b392de151dfdc33382a2bc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIProgressBar.ForceUpdate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the value of the scroll bar. </p>

<p>Reimplemented in <a class="el" href="class_u_i_scroll_bar.html#a0dc56abf18ddf12076fb3c4fd710c375">UIScrollBar</a>.</p>

</div>
</div>
<a class="anchor" id="ac387ee447f54893d65b677ecbfa05b1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float UIProgressBar.LocalToValue </td>
          <td>(</td>
          <td class="paramtype">Vector2&#160;</td>
          <td class="paramname"><em>localPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the value of the progress bar given the specified local position. </p>

<p>Reimplemented in <a class="el" href="class_u_i_scroll_bar.html#ade9d7778d52b97a1e8da5866b7bd8e87">UIScrollBar</a>.</p>

</div>
</div>
<a class="anchor" id="ad8c0636d67a5478fab21a8333299cb20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">delegate void UIProgressBar.OnDragFinished </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9a809570af3949823f16bc9635c97d64"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIProgressBar.OnStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Functionality for derived classes. </p>

<p>Reimplemented in <a class="el" href="class_u_i_scroll_bar.html#afca89319a51b3f6ba92c0bd443f49c68">UIScrollBar</a>, and <a class="el" href="class_u_i_slider.html#aa1ca1ee3b1e3ae198108868e764d90f9">UISlider</a>.</p>

</div>
</div>
<a class="anchor" id="a4a35bb79d46a341de8a8231637deaba6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIProgressBar.OnValidate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Invalidate the scroll bar. </p>

</div>
</div>
<a class="anchor" id="a98d21a225a0200680356fe2a480afe08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIProgressBar.ScreenToValue </td>
          <td>(</td>
          <td class="paramtype">Vector2&#160;</td>
          <td class="paramname"><em>screenPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drag the scroll bar by the specified on-screen amount. </p>

</div>
</div>
<a class="anchor" id="acce68010b63de6bae300f7716ca3e8cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIProgressBar.SetThumbPosition </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>worldPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the position of the thumb to the specified world coordinates. </p>

</div>
</div>
<a class="anchor" id="a49297afef67a937704bcf113d37840c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIProgressBar.Start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register the event listeners. </p>

</div>
</div>
<a class="anchor" id="abb1e92886604d4b24daa2e9ab08bc6af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIProgressBar.Update </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the value of the scroll bar if necessary. </p>

</div>
</div>
<a class="anchor" id="a8a68856eac532dd398f75c858a5da084"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIProgressBar.Upgrade </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Used to upgrade from legacy functionality. </p>

<p>Reimplemented in <a class="el" href="class_u_i_scroll_bar.html#a89743040bf161ba906f5c6e97214b86e">UIScrollBar</a>, and <a class="el" href="class_u_i_slider.html#ab18c5a602a52e202de23bf9f54891f8e">UISlider</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab4e5d221191fe4d7b7f93e76c344969b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a> UIProgressBar.current</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current slider. This value is set prior to the callback function being triggered. </p>

</div>
</div>
<a class="anchor" id="a4d46be11fb518e65dbb2c41185eaf4ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html">UIWidget</a> UIProgressBar.mBG</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adfd875dabc5a1d95ef7109096614ad06"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Camera UIProgressBar.mCam</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a13742f18c9e4dc7ba676044d0fbeb257"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html">UIWidget</a> UIProgressBar.mFG</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9a8ed6def39c94d0ed1df202fd04008a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">FillDirection</a> UIProgressBar.mFill = FillDirection.LeftToRight</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac9da5d581bee6ab6755d79f9e62fff0d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIProgressBar.mIsDirty = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad7f94173ee7b1eeccd9e9ea0b24f3446"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIProgressBar.mOffset = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6ce758355dfaae34349ad9a6a586c1ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIProgressBar.mTrans</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a35909a83c65620906a22928a078a3b19"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIProgressBar.mValue = 1f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa7cde4f296750d27f721d5f8c4d46727"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIProgressBar.numberOfSteps = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of steps the slider should be divided into. For example 5 means possible values of 0, 0.25, 0.5, 0.75, and 1.0. </p>

</div>
</div>
<a class="anchor" id="a51753c59e61c23c48b6f2d3c519864d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt; UIProgressBar.onChange = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callbacks triggered when the scroll bar's value changes. </p>

</div>
</div>
<a class="anchor" id="aeac294ff617f38687164b98f32604196"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html#ad8c0636d67a5478fab21a8333299cb20">OnDragFinished</a> UIProgressBar.onDragFinished</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delegate triggered when the scroll bar stops being dragged. Useful for things like centering on the closest valid object, for example. </p>

</div>
</div>
<a class="anchor" id="ae9bd6590801474032486134f9c391504"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIProgressBar.thumb</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Object that acts as a thumb. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a0c96faea0928afdaf1a18adb8a3353d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIProgressBar.alpha</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allows to easily change the scroll bar's alpha, affecting both the foreground and the background sprite at once. </p>

</div>
</div>
<a class="anchor" id="ac8cb00a7a20f08cc173ade9554cc5258"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html">UIWidget</a> UIProgressBar.backgroundWidget</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Widget used for the background. </p>

</div>
</div>
<a class="anchor" id="a5e2bcde97f2c4e6bea4f496ca9f6fdef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Camera UIProgressBar.cachedCamera</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Camera used to draw the scroll bar. </p>

</div>
</div>
<a class="anchor" id="a50a9eb611ff35bc90fb39449e0794fce"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIProgressBar.cachedTransform</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cached for speed. </p>

</div>
</div>
<a class="anchor" id="a484eb840ba9650baf65a005bf4062bfa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html#a932bf0cffd5400d462911d48fb3f9413">FillDirection</a> UIProgressBar.fillDirection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The scroll bar's direction. </p>

</div>
</div>
<a class="anchor" id="a2332650e5cf4c7b8d6d1017f37e28244"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html">UIWidget</a> UIProgressBar.foregroundWidget</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Widget used for the foreground. </p>

</div>
</div>
<a class="anchor" id="ab01b1a1a32c9c7e782f7b84ee6789869"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIProgressBar.isHorizontal</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the progress bar is horizontal in nature. Convenience function. </p>

</div>
</div>
<a class="anchor" id="a374d234f19147e932c81bc53a476a20c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIProgressBar.isInverted</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the progress bar is inverted in its behaviour. Convenience function. </p>

</div>
</div>
<a class="anchor" id="ac3171358e83b50c548df738d428e6d1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIProgressBar.value</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Modifiable value for the scroll bar, 0-1 range. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Interaction/<a class="el" href="_u_i_progress_bar_8cs.html">UIProgressBar.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:19 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
